#include<bits/stdc++.h>
using namespace std;
int n,r[114514],tmp=1,ans;
int main(){
    freopen("duel.in","r",stdin);
    freopen("duel.out","w",stdout);
    cin>>n;
    for(int i=1;i<=n;i++)cin>>r[i];
    sort(r+1,r+1+n);
    for(int i=1;i<n;i++)if(r[i+1]-r[i])ans=max(ans,tmp),tmp=1;
    else tmp++;
    cout<<max(ans,tmp);
    return 0;
}
